package com.un.ebs.inventory.domain;

import com.un.ebs.inventory.enums.BusinessRelationTypeEnum;
import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (EntRelationRechargeExt)表实体类
 *
 * @author makejava
 * @since 2021-03-14 18:46:21
 */
@Data
@Component
@TableName("v_ent_relation_recharge_ext")
@SuppressWarnings("serial")
public class EntRelationRechargeExt extends Model<EntRelationRechargeExt> {

                
    @DbField(name = "id",  length = 40 , precision = 0)
    private String id;
                
    @DbField(name = "ent_relation_id",  length = 40 , precision = 0)
    private String entRelationId;
                
    @DbField(name = "ent_id",  length = 40 , precision = 0)
    private String entId;
                
    @DbField(name = "code",  length = -1 , precision = 0)
    private Integer code;
                
    @DbField(name = "name",  length = 255 , precision = 0)
    private String name;
                
    @DbField(name = "relation_type",  length = -1 , precision = 0)
    private BusinessRelationTypeEnum relationType;
                
    @DbField(name = "bank_name",  length = 100 , precision = 0)
    private String bankName;
                
    @DbField(name = "bank_account",  length = 50 , precision = 0)
    private String bankAccount;
                
    @DbField(name = "corp_addres",  length = 200 , precision = 0)
    private String corpAddres;
                
    @DbField(name = "tel",  length = 20 , precision = 0)
    private String tel;
                
    @DbField(name = "tax_no",  length = 50 , precision = 0)
    private String taxNo;
                
    @DbField(name = "recharge_money",  length = 18 , precision = 4)
    private Double rechargeMoney;
        
    @TableField(fill = FieldFill.INSERT)            
    @DbField(name = "create_at",  length = 40 , precision = 0)
    private String createAt;
        
    @TableField(fill = FieldFill.INSERT)            
    @DbField(name = "create_at_name",  length = 100 , precision = 0)
    private String createAtName;
        
    @TableField(fill = FieldFill.INSERT)            
    @DbField(name = "create_time",  length = -1 , precision = 0)
    private Date createTime;
                
    @DbField(name = "submit_at",  length = 40 , precision = 0)
    private String submitAt;
                
    @DbField(name = "submit_at_name",  length = 100 , precision = 0)
    private String submitAtName;
                
    @DbField(name = "submit_time",  length = -1 , precision = 0)
    private Date submitTime;
                
    @DbField(name = "submit_status",  length = -1 , precision = 0)
    private Integer submitStatus;
                
    @DbField(name = "audit_at",  length = 40 , precision = 0)
    private String auditAt;
                
    @DbField(name = "audit_at_name",  length = 100 , precision = 0)
    private String auditAtName;
                
    @DbField(name = "audit_time",  length = -1 , precision = 0)
    private Date auditTime;
                
    @DbField(name = "audit_status",  length = -1 , precision = 0)
    private Integer auditStatus;
                
    @DbField(name = "tenant_id",  length = 40 , precision = 0)
    private String tenantId;


}